//
//  BaseViewController.h
//  NewiOSProject
//
//  Created by JMMac on 22.12.23.
//  Copyright © 2023 范智渊. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "JMFloatIcon.h"
#import "JMPublicAlertView.h"
#import "BRPlaceholderTextView.h"
#import "UINavigationController+FDFullscreenPopGesture.h"

NS_ASSUME_NONNULL_BEGIN

@interface BaseViewController : UIViewController
//导航
@property(nonatomic,strong)UIImageView *NavImg;
@property(nonatomic,strong)UILabel *TitleLabel;
@property(nonatomic,strong)UIImageView *Navline;
@property(nonatomic,strong)UIButton *backBtn;
@property(nonatomic,strong)UIButton *rightBarBtn;


@property (nonatomic, strong)JMFloatIcon *floatView;
@property (nonatomic, strong)UIView *footerView;//页面底部协议视图
@property (nonatomic, strong)JMPublicAlertView *feedbackAlertV;//反馈弹框
@property (nonatomic, strong)BRPlaceholderTextView *textV;//反馈输入框


//打点埋点 使用
@property(nonatomic, assign)NSInteger startTime;
@property(nonatomic, assign)NSInteger endTime;
/** tableView 当前页 */
@property (nonatomic,assign)NSInteger index;
/** 数据 */
@property (nonatomic,strong)NSMutableArray *dataArray;
//MARK: - 常用方法

-(void)backBtnClick;
- (NSString *)generateBoundaryString;
-(void)showSuccess:(NSString *)message;
-(void)showMessage:(NSString *)message;

-(void)startAnimating:(NSString *)set;
-(void)stopAnimating;
-(void)openCreditUrl:(NSString *)type;

@end

NS_ASSUME_NONNULL_END
